package com.hyl.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @Description 角色
 * @Author hyl
 * @Date 2023/3/31 10:44
 **/
@Data //
public class SysRole {
	private Integer id;
	private String  code;
	private String  roleName;
	private Integer createdUserId;
	private String createdTime;
	private Integer updatedUserId;
	private String updatedTime;

	//多个用户==》集合
	private Set<SysUser> userList = new HashSet<>();//角色的所有用户

}
